<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
    <script>
      var array1 = new Array();
      console.log(array1.length);
      var array2 = new Array("123",true,123);
      console.log(array2.length);
      var array3 = new Array();
      array3[0] = '123';
      console.log(array3);
      console.log(array3.length);
      array3[1] = false;
      console.log(array3);
      console.log(array3.length);
      var arr = new Array();
      arr.push("123");
      arr.push(false);
      arr.push(123);
      console.log(arr);
      console.log(arr.length);
      for (let i = 0; i < arr.length; i++) {
        console.log(arr[i]);
      }
      console.log(arr.pop());
      console.log(arr.pop());
      console.log(arr.pop());
      console.log(arr);
    </script>

</head>
<body>

</body>
</html>